package com.qingcloud.wcenter.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TablePageDTO<T> implements Serializable {

    @ApiModelProperty(value = "数据总条数", example = "1")
    private Integer recordsTotal;

    @ApiModelProperty(value = "数据列表")
    private List<T> data;

}
